package com.aplink.generic.pojo.xml;

import java.util.ArrayList;
import java.util.Hashtable;

public class RecordInfo {
    private ArrayList<Hashtable<String, String>> mRecords;
    private String mTableName;

    public RecordInfo() {
        this.mRecords = new ArrayList<Hashtable<String, String>>();
    }

    public void addRecord( Hashtable<String, String> newRecord ) {
        if ( this.mRecords != null ) {
            this.mRecords.add( newRecord );
        }
    }

    public ArrayList<Hashtable<String, String>> getmRecordList() {
        return this.mRecords;
    }

    public String getmTableName() {
        return this.mTableName;
    }

    public void setmRecordList( ArrayList<Hashtable<String, String>> mRecordList ) {
        this.mRecords = mRecordList;
    }

    public void setmTableName( String mTableName ) {
        this.mTableName = mTableName;
    }
}
